<h2>window.js</h2>
<p>Creates a Windows</p>
<hr/>

<h3>Objects</h3>
<ul>
	<li><a href="#window">OAT.Window(paramsObj, type)</a></li>
</ul>

<hr/>

<h3><a name="window">OAT.Window(paramsObj, type)</a></h3>
<p>Creates a window. Its main div is accessible as <code>menu.div</code>, its content as <code>menu.content</code>. 
The <em>type</em> can contain:</p>
<ul>
	<li>OAT.WindowData.TYPE_WIN</li>
	<li>OAT.WindowData.TYPE_MAC</li>
	<li>OAT.WindowData.TYPE_ROUND</li>
	<li>OAT.WindowData.TYPE_RECT</li>
	<li>OAT.WindowData.TYPE_AUTO</li>
</ul>

<p>Argument <em>paramsObj</em> has the following properties:</p>

<ul>
	<li>min - should the 'minimize' button be present?</li>
	<li>max - should the 'maximize' button be present?</li>
	<li>close - should the 'close' button be present?</li>
	<li>move - should the window be movable?</li>
	<li>resize - should the window be resizable?</li>
	<li>x - left coordinate</li>
	<li>y - top coordinate</li>
	<li>w - width</li>
	<li>h - height</li>
	<li>title - window's title</li>
	<li>magnetsH - array of elements to horizontally snap to</li>
	<li>magnetsV - array of elements to vertically snap to</li>
</ul>
